package com.fanfu.gulimall.member.feign;

import atguigu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 这是一个声明式的远程调用
 */
@FeignClient("gulimall-coupon") //远程服务名称
public interface CouponFeignService {

    @RequestMapping("/coupon/coupon/member/list")   //远程服务完整的签名
    public R membercoupons();
}